	@extends('admin.base')

        @section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            <i class="fa fa-calendar"></i>
			用户管理
          </h1>
          <ol class="breadcrumb">
            <li><a href="{{url('admin')}}"><i class="fa fa-dashboard"></i>首页</a></li>
            <li><a href="{{url('admin/friendlink')}}">友情链接</a></li>
            <li class="active">修改友情链接</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12">
              <!-- Horizontal Form -->
              <div class="box box-primary">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-plus"></i> 修改友情链接</h3>
                </div><!-- /.box-header -->
                <!-- form start -->
				
                <form action="{{url('admin/friendlink')}}/{{$list->id}}" method="post" class="form-horizontal">
                  <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                  <input type="hidden" name="_method" value="PUT">
				  
                  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">链接名称：</label>
                      <div class="col-sm-4">
                        <input type="name" name="linkname" value="{{$list->linkname}}" class="form-control" id="inputEmail3" placeholder="链接名称">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">链接url：</label>
                      <div class="col-sm-4">
                        <input type="url" name="linkurl" value="{{$list->linkurl}}" class="form-control" id="inputPassword3" placeholder="链接url">
                      </div>
                    </div>
					<div  class="form-group">
                      <div class="col-sm-4">
                        <input type="hidden" name="update_at" value="{{$list->update_at}}" class="form-control" placeholder="修改时间">
                      </div>
                    </div>
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">审核状态：</label>
                      <div class="col-sm-4">
						
                        <input type="radio"  name="status" value="1" {{$list->status==1?'checked':''}}>已上线  &nbsp; &nbsp; 
						
                        <input type="radio"  name="status" value="0" {{$list->status==0?'checked':''}}>未上线 
						
                      </div>
                    </div>
                  </div><!-- /.box-body -->
                  <div class="box-footer">
				    <div class="col-sm-offset-2 col-sm-1">
						<button type="submit" class="btn btn-primary">确定修改</button>
                    </div>
					<div class="col-sm-1">
						<button type="reset" class="btn btn-primary">重置</button>
					</div>
                  </div><!-- /.box-footer -->
                </form>
				
				<div class="row"><div class="col-sm-12">&nbsp;</div></div>
              </div><!-- /.box -->
       
            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
        @endsection